QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Using Shader Objects

QuickDraw 3D supplies routines that you use to create and configure shader objects. You can make a shader's effects appear in a rendered image in several ways. You can submit the shader inside a rendering loop, or you can add the shader to a group and submit the group inside a rendering loop. These ways of applying a shader are all equally good, and which of them you use depends on the circumstances. For instance, if you put a shader object into an unordered display group, it will affect only the objects following it in the group.

Using Illumination Shaders

Using Texture Shaders

Creating Storage Pixmaps

Handling Values Outside the Valid Range


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |